package model;

import java.util.ArrayList;
import java.util.List;

public class AccountManager {
	private List<Account> accounts;

	public List<Account> getAccounts() {
		return accounts;
	}

	public void setAccounts(List<Account> accounts) {
		this.accounts = accounts;
	}
	
	public AccountManager() {
		accounts = new ArrayList<>();
		accounts.add(new Account(123456789L, new User("acc100", "acc100")));
		accounts.add(new Account(123456788L, new User("acc101", "acc101")));
		accounts.add(new Account(123456787L, new User("acc102", "acc102")));
		accounts.add(new Account(123456786L, new User("acc103", "acc103")));
		accounts.add(new Account(123456785L, new User("acc104", "acc104")));
		accounts.add(new Account(123456784L, new User("acc105", "acc105")));
	}
}
